<extend name="Base:base" />
<block name="title">{$title}</block>
<block name="content">
    <form action="{:U('Admin/Category/editDo')}" method="post">
        <table class="table">
            <tr>
                <th>页面ID</th>
                <td>{$category.id}</td> 
                <th>类别名称</th>
                <td><input type="text" name="name" value="{$category.name}" /></td>
                <th>是否显示</th>
                <td><input type="radio" name="is_active" value="1" <if condition="$category['is_active'] eq 1"> checked="checked" </if>/>显示
                    <input type="radio" name="is_active" value="0" <if condition="$category['is_active'] eq 0"> checked="checked"</if> />不显示
                </td>
                <th>排序</th>
                <td><input type="text" name="sort_order" value="{$category.sort_order}"></td>
            </tr>
        </table>
        <input type="hidden" value="{$category.id}" name="id" />
        <input type="submit" value="保存修改"/>
    </form>
</block>